package tools

import (
	"math/rand"
	"time"
)

func RandomInt(min, max int) int {
	rand.NewSource(time.Now().UnixNano())
	return rand.Intn(max-min+1) + min // 注意max-min+1是为了包含max值
}
